package com.example.demo.component;

import org.springframework.stereotype.Component;

import java.util.Random;

/**
 * Created by User on 2017/9/13.
 */
@Component
public class RandomComponent extends Random {

    public RandomComponent() {
        setSeed(System.currentTimeMillis());
    }


}
